package com.tjdx.projectsubmission.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class EventRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String eventType;
    private String eventCode;
    private String eventName;
    private String eventDesc;
    private int quarterId;
    private String status1; //安全部审核状态
    private String status2; //'监管单位审核状态
    private String opinion1; //'安全部提出的整改意见'
    private String opinion2; //''监管单位提出的整改意见'
    @TableField(value = "`block_hash`")
    private String blockHash; //'区块哈希'
    private String score; //''评分''
    private String probability; //''顶事件计算概率'
    private String data;//'事件数据'
    @TableField(value = "`user1`")
    private String user1; //'工程部人员id'
    @TableField(value = "`user2`")
    private String user2;//'安全部人员id'
    @TableField(value = "`user3`")
    private String user3;//'监管单位人员id'
    private Date createTime;
    private Date updateTime;
}
